﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BlueLotus7.Common;

namespace BlueLotus7.Web
{
    public class ControlViewModel<T> where T : IIdentifiable
    {
        public T Data
        {
            get;
            set;
        }

        public ViewMode Mode
        {
            get;
            set;
        }

        public Dictionary<string, bool> Flags
        {
            get;
            protected set;
        }


        public ControlViewModel()
        {
            this.Flags = new Dictionary<string, bool>();
        }
    }
}